package com.gxa.service;

import com.gxa.common.JsonResult;
import com.gxa.common.R;
import com.gxa.pojo.CareRemind;
import com.gxa.pojo.Customer;

import java.sql.SQLException;
import java.util.List;

public interface CustomerService {
    JsonResult queryCustomer();
    JsonResult queryCustomer(Integer currentPage, Integer pageSize);
    JsonResult searchCustomer(Integer currentPage, Integer pageSize, String customer_name);
    JsonResult searchCustomer(Integer currentPage, Integer pageSize, String customer_name, Long mobile_phone);

    JsonResult insertCustomer(Customer customer);

    JsonResult deleteCustomer(Integer id);

    JsonResult batchDelService(String[] ids);

    JsonResult updateCustomer(Customer customer);

    JsonResult queryCustomerSatisfaction(Integer currentPage, Integer pageSize);

    JsonResult addCustomerSatisfaction(Customer customer);

    JsonResult updateCustomerSatisfaction(Customer customer);

    JsonResult queryCustomerCareRemind(Long customer_code, Integer currentPage, Integer pageSize);

    JsonResult addCustomerCareRemind(CareRemind careRemind);

    JsonResult updateCustomerCareRemind(CareRemind careRemind);

    JsonResult deleteCustomerCareRemind(String[] ids);

    JsonResult searchCustomerCareRemind(Integer currentPage, Integer pageSize, String customer_name);
}
